From: robertl Date: Mon, 28 Jun 2010 21:25:49 +0000 (+0000) Subject: Fix bogus CDATA encoding of description in KML tags. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~16^2~32 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=634deea2211cd51ebdbdacaf857251c5f600f876;p=gpsbabel.git Fix bogus CDATA encoding of description in KML tags. --- diff --git a/kml.c b/kml.c index 8e41317b4..1ce8ff514 100644 --- a/kml.c +++ b/kml.c @@ -413,9 +413,9 @@ kml_write_xmle(const char *tag, const char *fmt, ...) if (strspn(tmp_ent, "&'<>\"")) needs_escaping = 1; gbfprintf(ofd, "<%s>", tag); - if (needs_escaping) gbfprintf(ofd, ""); gbfprintf(ofd, "\n", tag); xfree(tmp_ent); }